package fr.labri.macchiato.feature.localDatabase;

import com.google.gwt.user.server.rpc.RemoteServiceServlet;


/**
 * Executes a Sparql Query on a local model
 * 
 * @author Matthieu FOUCAULT
 * 
 */
public class RpcQueryLauncherImpl extends RemoteServiceServlet implements
		RpcQueryLauncher {
	private static final long serialVersionUID = -9134475366063038415L;

	public void loadModel(String url) {
		JenaQueryLauncher.getInstance(url);
	}

	public String launchQueryForJSON(String url, String queryString) {
		return JenaQueryLauncher.getInstance(url).launchQueryForJSON(queryString);
	}

}
